<div id="box">
	<h3>Danh sách địa điểm lặn</h3>
       <table width="100%">
			<thead>
				<tr>
   <th width="70px"><a href="#">Mã giáo viên<img src="<?php echo base_url(); ?>/asset/admin/images/icons/arrow_down_mini.gif" width="16" height="16" align="absmiddle" /></a></th>
                            	<th width="100px"><a href="#">Tên giáo viên</a></th>
                                <th width="100px"><a href="#">Hình ảnh</a></th>
                                
                                <th width="50px"><a href="#">Hiển Thị</a></th>
  							 	<th width="60px"><a href="#">Tùy Chọn</a></th>
                            </tr>
						</thead>
			<tbody>
<?php
foreach($dsgv as $ds)
	echo '<tr>
             <td class="a-center">'.$ds->magv.'</td>
             <td>'.$ds->tengv.'</td>
			 <td><img src="'.base_url().'asset/upload/'.$ds->hinh.'" width="120" height="100" /></td>
			 
             <td align="center">'.$ds->hienthi.'</td>
        	 <td align="center">
			 
'.anchor('admin/giaovienadmin/thongtingiaovien/'.$ds->magv,'<img src="'.base_url().'/asset/admin/images/icons/user.png" title="Thông tin giáo viên" width="16" height="16" />').'
			 
'.anchor('admin/giaovienadmin/capnhatgiaovien/'.$ds->magv,'<img src="'.base_url().'/asset/admin/images/icons/user_edit.png" title="Cập nhật giáo viên" width="16" height="16" />').'
			 
'.anchor('admin/giaovienadmin/xoagiaovien/'.$ds->magv, '<img src="'.base_url().'/asset/admin/images/icons/user_delete.png" title="Xóa giáo viên" width="16" height="16" />', array('onclick'=>'return xacnhanxoa();')).' </td>
                            </tr>';
?>            
                            					
			</tbody>
		</table>
   <div id="pager">
                    	Page <a href="#"><img src="<?php echo base_url(); ?>asset/admin/images/icons/arrow_left.gif" width="16" height="16" /></a> 
                    	<input size="1" value="1" type="text" name="page" id="page" /> 
                    	<a href="#"><img src="<?php echo base_url(); ?>asset/admin/images/icons/arrow_right.gif" width="16" height="16" /></a>of 42
                    pages | View <select name="view">
                    				<option>10</option>
                                    <option>20</option>
                                    <option>50</option>
                                    <option>100</option>
                    			</select> 
                    per page | Total <strong>420</strong> records found
                    </div>
</div>

<script language="javascript" type="text/javascript">
function xacnhanxoa()
{
	return confirm('Có chắc xóa sản phẩm này không?');
}
</script>
